package yl.hs.bmipfull.utils.datastate;


/**
 * 合同状态
 */
public enum ContractState {
    /**
     * 删除
     */
    Delete((short) -1),

    /**
     * 草稿
     */
    Draft((short) 0),

    /**
     * 审核中
     */
    Examine((short) 1),

    /**
     * 已签约
     */
    Signed((short) 2),
    /**
     * 暂停
     */
    Suspend((short) 4),
    /**
     * 完结
     */
    End((short) 5),
    /**
     * 作废
     */
    Nullify((short) 6);


    private short code;

    ContractState(short code) {
        this.code = code;
    }

    public short getCode() {
        return code;
    }

    public void setCode(short code) {
        this.code = code;
    }
}
